Learn how to configure typo tolerance and turn it on or off.
typoTolerance
parameter:
true
: turns typo tolerance on (the default, suggested value).false
: turns typo tolerance off.min
: only keeps results with the lowest number of typos. This means that if you have one or more records that match, you’ll only receive those records, but if you have no records that match, you’ll receive records with typo counts of 1 (or 2 if there are none with 1). When using a sort-by attribute, set typo tolerance to min
to reduce irrelevant search results.strict
: like min
but keeps the two lowest number of typos. This is useful when you want to ensure more results. When typo tolerance is strict
, the Typo criterion is forced to be first in the ranking formula.true
, min
or strict
, Algolia enables splitting and concatenation.minWordSizefor1Typo
parameter or the Min chars to accept 1 typo setting in the dashboard.minWordSizefor2Typos
parameter or the Min chars to accept 2 typos in the dashboard.foot ≠ feet
.
Change this default behavior, so that foot = feet
, by setting the ignorePlurals
parameter to true
, or in the Language configuration page in the dashboard.
allowTyposOnNumericTokens
parameter to false
or in the Typo-Tolerance section in the dashboard.
disableTypoToleranceOnAttributes
parameter or in the Typo-Tolerance section in the dashboard.
disableTypoToleranceOnWords
parameter or in the Typo-Tolerance section in the dashboard.